#ifndef RRRAYTRACING_H
#define RRRAYTRACING_H

#include "rrtype.h"
#include "rreye.h"
#include "rrlight.h"
#include "SDL_image.h"
#include "SDL_endian.h"

class RRRayTracing
{
private:
    float s_h;
    RREye eye;
    RRLight lig;

public:
    RRRayTracing();
    void rrGenerateEye(float xs, float ys);
    void rrTrace(Uint32 *bufp, SDL_Surface *screen);
    RRVec3 rrTraceSphere(float xc, float yc, float zc, float r);
    void rrSetLight(float x, float y, float z);
};

#endif // RRRAYTRACING_H
